#!/usr/bin/expect
spawn ssh -p 5692 jieerxun@118.242.0.43
expect {
	"*assword" {set timeout 30; send "\$jieer.com\r";}
	"yes/no" {send "yes\r"; exp_continue;}
}
send "cd /webdata/wao-sdly-static/html/\r"
send "su root\r"
interact
